package com.violet.lb.chooser;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * service选择器类
 *
 * @author jarvis create by 2022/3/13
 */
public interface IRuleChooser {
    /**
     * 方法描述: 服务器请求分发选择器接口
     *
     * @param instances 服务实例
     * @return org.springframework.cloud.client.ServiceInstance
     * @author wqf
     * @date 2022/10/26 16:08
     */
    ServiceInstance choose(List<ServiceInstance> instances);
}
